// const base_url = 'https://webooktest.populi.rocks/Api/';
// const file_url = 'https://webooktest.populi.rocks/';

// const base_url = 'http://test.webooking.com/Api/';
// const file_url = 'http://test.webooking.com/';

const base_url = 'https://webook.populi.rocks/Api/';
const file_url = 'https://webook.populi.rocks/';

const login = base_url + 'Wechat/login';
const getPhoneCode = base_url + 'Phone/getCode';
const supplyInfo = base_url + 'Wechat/supplyInfo';
const getSellerCode = base_url + 'Phone/getSellerCode';
const uploadPic = base_url + 'Upload/uploadPic';
const apply = base_url + 'Seller/apply';
const getUserAroundSellers = base_url + 'User/getUserAroundSellers';
const getSellerPersonalInfo = base_url + 'Seller/getSellerPersonalInfo';
const getSellerEditInfo = base_url + 'Seller/getSellerEditInfo';
const updateSellerInfo = base_url + 'Seller/updateSellerInfo';
const addFlightInfo = base_url + "Flight/addFlightInfo";
const getFlightInfoBySeller = base_url + 'Flight/getFlightInfoBySeller';
const getFltDetailById = base_url + 'Flight/getFltDetailById';
const getUserPassengerInfo = base_url + 'User/getUserPassengerInfo';
const getPaperTypes = base_url + 'User/getPaperTypes';
const editUserPassengerInfo = base_url + 'User/editUserPassengerInfo';
const createOrder = base_url + 'Order/createOrder';
const getUserOrderById = base_url + 'Order/getUserOrderById';
const getUserAllOrder = base_url + 'Order/getUserAllOrder';
const userPayments = base_url + 'Order/userPayments';
const getUserAllPassenger = base_url + 'User/getUserAllPassenger';
const addTickets = base_url + 'Flight/addTickets';
const updateTicketsById = base_url + 'Flight/updateTicketsById';
const getTicketInfoById = base_url + 'Flight/getTicketInfoById';
const deleteUserPassenger = base_url + 'User/deleteUserPassenger';
const getSellerAllOrder = base_url + 'Seller/getSellerAllOrder';
const checkUserOrder = base_url + 'Order/checkUserOrder';
const getDeclaresDetail = base_url + 'User/getDeclaresDetail';
const userGotTicket = base_url + 'Order/userGotTicket';
const searchProduct = base_url + 'SearchProduct/search';

const getProductInfoById = base_url + '/Product/getProductInfoById';
const getProductAttraction = base_url + '/Product/getProductAttraction';

const getAllCity = base_url + 'Index/getAllCity';
const checkAvailability = base_url + 'Product/checkAvailability';
const createReservationOrder = base_url + 'Order/createReservationOrder';
const getOrderInfoById = base_url + 'Order/getOrderInfoById';
const deleteUnReservedOrder = base_url + 'Order/deleteUnReservedOrder';
const createBooking = base_url + 'Order/createBooking';
const getUserEditableInfo = base_url + 'User/getUserEditableInfo';
const saveUserInfo = base_url + 'User/saveUserInfo';
const getPaymentsData = base_url + 'Order/getPaymentsData';
const checkUserPayResult = base_url + 'Order/checkUserPayResult';
const refund = base_url + 'Order/refund';
module.exports = {
  file_url,
  login,
  getPhoneCode,
  supplyInfo,
  getSellerCode,
  uploadPic,
  apply,
  getUserAroundSellers,
  getSellerPersonalInfo,
  getSellerEditInfo,
  updateSellerInfo,
  addFlightInfo,

  getProductInfoById,
  getProductAttraction,

  getFlightInfoBySeller,
  getFltDetailById,
  getUserPassengerInfo,
  getPaperTypes,
  editUserPassengerInfo,
  createOrder,
  getUserAllOrder,
  getUserOrderById,
  userPayments,
  getUserAllPassenger,
  addTickets,
  updateTicketsById,
  getTicketInfoById,
  deleteUserPassenger,
  getSellerAllOrder,
  checkUserOrder,
  getDeclaresDetail,
  userGotTicket,
  searchProduct,

  getAllCity,
  checkAvailability,
  createReservationOrder,
  getOrderInfoById,
  deleteUnReservedOrder,
  createBooking,
  getUserEditableInfo,
  saveUserInfo,
  getPaymentsData,
  checkUserPayResult,
  refund
}
